package com.llc.mall.user.interfaces.vo;

import com.llc.mall.common.core.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

//@Data
public class AreaVo extends BaseVO {
    private static final long serialVersionUID = 1L;


    private Long areaId;

    @Schema(description = "地址" )
    private String areaName;

    @Schema(description = "上级地址" )
    private Long parentId;

    @Schema(description = "等级（从1开始）" )
    private Integer level;

    private Integer check;

    /**
     * 下级地址集合
     */
    private List<com.mall4j.cloud.api.user.vo.AreaVO> areas;

    /**
     * 下级地址的areaId
     */
    private List<Long> areaIds;

}
